<?php
use yii\helpers\Inflector;
use yii\helpers\StringHelper;
echo "<?php\n";
?>
use yii\bootstrap\Nav;

<?= "echo " ?>
Nav::widget([
    'items' => [
        [
            'label' => <?=$generator->generateString(Inflector::pluralize(Inflector::camel2words(StringHelper::basename($generator->modelClass))))?>,
            'url' => ['<?=strtolower(Inflector::camel2words(StringHelper::basename($generator->modelClass)))?>/index'],
        ],
        [
            'label' => <?=$generator->generateString('Create ' . Inflector::camel2words(StringHelper::basename($generator->modelClass)))?>,
            'url' => ['<?=strtolower(Inflector::camel2words(StringHelper::basename($generator->modelClass)))?>/create'],
        ]
    ],
    'options' => ['class' => 'nav-tabs'],
]);